﻿using Yto.Core.Users;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Yto.EF
{
    public abstract class YtoDbContext<T> : BaseDbContext
        where T : User<T>
    {

        public virtual IDbSet<T> Users { get; set; }

        protected YtoDbContext() { }

        protected YtoDbContext(string nameOrConnectionString) : base(nameOrConnectionString)
        {

        }

    }
}
